xen/arm: WORKAROUND 1:1 memory mapping for dom0
authorJulien Grall <julien.grall@linaro.org>
Sat, 27 Apr 2013 21:52:44 +0000 (22:52 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 13 May 2013 11:00:00 +0000 (12:00 +0100)
commit3c186690bb6c8e7da7a24f83c8d8c884b1ba46a2
treeafcb20bad8334cdb567737747b8ac6a46c249c7c
parent93f8194038ebddca5898cf889b45a5dc0ba903c1
xen/arm: WORKAROUND 1:1 memory mapping for dom0

Currently xen doesn't implement SYS MMU. When a device will talk with dom0
with DMA request the domain will use GFN instead of MFN.
For instance on the arndale board, without this patch the network doesn't
work.

The 1:1 mapping is a workaround and MUST be remove as soon as a SYS MMU is
implemented in XEN.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain_build.c
xen/include/asm-arm/platform.h